<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ping show</title>
<link rel="stylesheet" style="text/css" href='<c:url value="/css/common.css" />' />
<link rel="stylesheet" style="text/css" href='<c:url value="/css/sale/agent.css" />' />
<script type="text/javascript" src='<c:url value="/js/xx.js" />'></script>
</head>
<body style="text-align: center;">
	<span class="red">red test</span><br />
	<c:url value="/ping/createOrUpdate" var="formUrl" />
	<form:form action='${formUrl }' method="post" commandName="ping">
		<form:input path="id" cssStyle="display: none;" />
		<table>
			<tr>
				<td>age:</td>
				<td><form:input path="age" /></td>
				<td><form:errors path="age" cssStyle="color: red;" /></td>
			</tr>
			<tr>
				<td>name:</td>
				<td><form:input path="name" /></td>
				<td><form:errors path="name" cssStyle="color: red;" /></td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="提交" /></td>
				<td><input type="reset" value="重置"></td>
			</tr>
		</table>
	</form:form>
</body>
</html>